package com.lsh.common.util;

public class SysUtil {

	public static String getJsonStr(int statusCode,String message,String rel,String navTabId,String callbackType,String forwardUrl,String confirmMsg){
		String jsonStr = "{ " +
				"\"statusCode\":\""+statusCode+"\"," +
				"\"message\":\""+message+"\", " +
				"\"navTabId\":\""+navTabId+"\", " +
				"\"rel\":\"navTab\"," +
				" \"callbackType\":\""+callbackType+"\", " +
				"\"forwardUrl\":\""+forwardUrl+"\", " +
				"\"confirmMsg\":\""+confirmMsg+"\" }";
		return jsonStr;
	}
	
	public static String getJsonStr(int statusCode,String message){
		String jsonStr = "{ " +
						"\"statusCode\":\""+statusCode+"\"," +
						"\"message\":\""+message+"\", " +
						"\"navTabId\":\"\", " +
						"\"rel\":\"\"," +
						" \"callbackType\":\"\", " +
						"\"forwardUrl\":\"\", " +
						"\"confirmMsg\":\"\" }";
		return jsonStr;
	}
}
